﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace DataModel
{
    public class UserInfo
    {
        [Display(Name="用户ID")]
        public virtual string UserID { get; set; }
        [Display(Name="用户名")]
        [Required(ErrorMessage="用户名错误")]
        [DataType(DataType.Text,ErrorMessage="用户名格式错误")]
        public virtual string UserName { get; set; }
    }
}
